home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / pippki.jar / content / pippki / pref-validation.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-06-05  |  4.6 KB  |  117 lines

  1. <?xml version="1.0"?> 
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is mozilla.org code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Netscape Communications Corp.
  19.    - Portions created by the Initial Developer are Copyright (C) 2001
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s):
  23.    -   David Drinan <ddrinan@netscape.com>
  24.    -
  25.    - Alternatively, the contents of this file may be used under the terms of
  26.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  27.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.    - in which case the provisions of the GPL or the LGPL are applicable instead
  29.    - of those above. If you wish to allow use of your version of this file only
  30.    - under the terms of either the GPL or the LGPL, and not to allow others to
  31.    - use your version of this file under the terms of the MPL, indicate your
  32.    - decision by deleting the provisions above and replace them with the notice
  33.    - and other provisions required by the GPL or the LGPL. If you do not delete
  34.    - the provisions above, a recipient may use your version of this file under
  35.    - the terms of any one of the MPL, the GPL or the LGPL.
  36.    -
  37.    - ***** END LICENSE BLOCK ***** -->
  38.  
  39. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  40.  
  41. <!DOCTYPE page [
  42.   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  43.   <!ENTITY % prefValidationDTD SYSTEM "chrome://pippki/locale/pref-validation.dtd">
  44.   %brandDTD;
  45.   %prefValidationDTD;
  46. ]>
  47.  
  48. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  49.       onload="onLoad();"
  50.       headertitle="&pref.validation.title;">
  51.  
  52.   <!-- List elements to manage for prefs -->
  53.   <script type="application/x-javascript">
  54.   <![CDATA[
  55.     var _elementIDs = ["securityOCSPEnabled", "serviceURL", "signingCA", "requireWorkingOCSP"];
  56.   ]]>
  57.   </script>
  58.             
  59.   <script type="application/x-javascript" src="chrome://pippki/content/pref-validation.js"/>
  60.  
  61.   <groupbox>
  62.     <caption label="&validation.crl.caption;"/>
  63.     <description>&validation.crl.description;</description>
  64.     <hbox align="center">
  65.       <button label="&validation.managecrls.button;"
  66.               oncommand="openCrlManager();"
  67.               id="managecrlbutton"
  68.               accesskey="&validation.managecrls.accesskey;"
  69.               prefstring="security.OCSP.disable_button.managecrl"/>
  70.     </hbox>
  71.   </groupbox>
  72.  
  73.   <groupbox align="start">
  74.     <caption label="&validation.ocsp.caption;"/>
  75.     <checkbox id="enableOCSPBox" label="&enableOCSP.label;"
  76.               accesskey="&enableOCSP.accesskey;" oncommand="doEnabling(1);"/>
  77.     <!-- Prefs -->
  78.     <radiogroup id="securityOCSPEnabled"
  79.                 prefstring="security.OCSP.enabled">
  80.         <radio value="0" hidden="true"/>
  81.         <radio id="certOCSP" value="1" label="&certOCSP2.label;"
  82.                accesskey="&certOCSP2.accesskey;" oncommand="doEnabling(0);"/>
  83.         <radio id="proxyOCSP" value="2" label="&proxyOCSP2.label;"
  84.                accesskey="&proxyOCSP2.accesskey;" oncommand="doEnabling(0);"/>
  85.  
  86.         <grid class="indent" flex="1">
  87.           <columns>
  88.           <column/>
  89.           <column flex="1"/>
  90.           </columns>
  91.           
  92.           <rows>
  93.             <row align="center">
  94.               <label value="&signingCA.label;"
  95.                      accesskey="&signingCA.accesskey;" control="signingCA"/>
  96.               <menulist id="signingCA" preftype="string" prefstring="security.OCSP.signingCA"
  97.                         flex="1" oncommand="changeURL()">
  98.                 <menupopup/>
  99.               </menulist>
  100.             </row>
  101.             <row align="center">
  102.               <label value="&serviceURL.label;"
  103.                      accesskey="&serviceURL.accesskey;" control="serviceURL"/>
  104.               <textbox id="serviceURL" prefstring="security.OCSP.URL"/>
  105.             </row>
  106.          </rows>
  107.        </grid>
  108.     </radiogroup>
  109.     <separator class="thin"/>
  110.     <checkbox id="requireWorkingOCSP" label="&validation.requireOCSP.description;"
  111.                 accesskey="&validation.requireOCSP.accesskey;"
  112.                 prefstring="security.OCSP.require"/>
  113.  
  114.   </groupbox>
  115.  
  116. </page>
  117.